﻿using DongFangGuoKai.WMSPlatform.Core;
using DongFangGuoKai.WMSPlatform.Domain.Models;

namespace DongFangGuoKai.WMSPlatform.Service.QueceApp
{
    public partial class QueceService : IQueceService
    {


        public QueceService(Repository<t_QueceRecard> queceRepo,
            Repository<t_ShippingOrderDetail> shippingOrderDetailRepo,
            Repository<t_ShippingLockCell> shippingLockCellRepo)
        {
            QueceRepo = queceRepo;
            ShippingOrderDetailRepo = shippingOrderDetailRepo;
            ShippingLockCellRepo = shippingLockCellRepo;
        }
        public Repository<t_QueceRecard> QueceRepo { get; }
        public Repository<t_ShippingOrderDetail> ShippingOrderDetailRepo { get; }
        public Repository<t_ShippingLockCell> ShippingLockCellRepo { get; }

        public bool InsertQuece(t_QueceRecard item)
        {
            //var windowCode = GetWindowCode(item.BillNO);
            //item.CounterNo = windowCode;
            QueceRepo.Insert(item);
            return true;
        }



    }
}
